#include "stdio.h"

int maxVal(int a, int b){
  return a >= b?a:b;
}

int main(int argc, char const *argv[])
{
  int a=5,b=9,max=0;
  int (*ptr)(int,int) = maxVal;
  max = (*ptr)(a,b);
  printf("%d \n",max);
  return 0;
}
